home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 4
/
Gold Medal Software - Volume 4 (Gold Medal) (1994).iso
/
os2
/
pstry104.arj
/
INSTALL.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-08-24
|
899b
|
22 lines
/* rexx cmd file to install the Pastry Box on the deskop */
/* files are installed on the boot drive under \OS2\APPS */
call rxfuncadd 'sysloadfuncs', 'rexxutil', 'sysloadfuncs'
call sysloadfuncs /* register system functions */
address cmd '@echo off' /* echo is turned off */
SysBootDrive=Filespec('Drive',Value('SYSTEM_INI',,'OS2ENVIRONMENT'));
'COPY PASTRY.EXE '|| SysBootDrive||'\OS2\APPS'
'COPY PASTRY.ICO '|| SysBootDrive||'\OS2\APPS'
Settings = 'EXENAME='SysBootDrive||'\OS2\APPS\PASTRY.EXE;'
Settings = Settings||'PROGTYPE=PM;MINIMIZED=NO;'
Settings = Settings||'ICONFILE='SysBootDrive||'\OS2\APPS\PASTRY.ICO;'
Settings = Settings||'CCVIEW=YES;'
Settings = Settings||'STARTUPDIR='||SysBootDrive||'\OS2\APPS;'
rc=SysCreateObject('WPProgram','Pastry Box','<WP_DESKTOP>',Settings,'R');
if rc = 1 then Say "Pastry Box installed on desktop"
Exit